import service from "../utils/service";
//当前项目--测评项目参与量（近7天）接口
export const getDayssum=(params)=>service({url: `/dataView/getDayssum/`+params.voteid, method: "get",params})
//心里健康年龄趋势
export const getGhqData=()=>service({url: `/dataView/getGhqData`, method: "get"})
//
export const getGhqDeptsum=(params)=>service({url: `/dataView/getGhqDeptsum/`+params.years, method: "get",params})
//月度
export const getGhqMData=(params)=>service({url: `/dataView/getGhqMData/`+params.years, method: "get",params})
//月度环形图
export const getGhqYearsZBsum=(params)=>service({url: `/dataView/getGhqYearsZBsum/`+params.years, method: "get",params})
//项目测试进度接口 已测
export const getProgressFinishData=(params)=>service({url: `/dataView/getProgressFinishData/`+params.voteid, method: "get",params})
//项目测试进度接口 未测
export const getProgressNoFinishData=(params)=>service({url: `/dataView/getProgressNoFinishData/`+params.voteid, method: "get",params})
//首页阳性筛出
export const getProjectYXData=(params)=>service({url: `/dataView/getProjectYXData/`+params.voteid, method: "get",params})
//阳性分布图
export const getPYXsum=(params)=>service({url: `/dataView/getPYXsum/`+params.voteid, method: "get",params})
//测评参与分支比例
export const getSubcomsnumData=()=>service({url: `/dataView/getSubcomsnumData`, method: "get"})
//测评项目主题分布
export const getThemeNum=(params)=>service({url: `/dataView/getThemeNum/`+params.years, method: "get",params})
//阳性筛出年度趋势
export const getYXData=()=>service({url: `/dataView/getYXData`, method: "get"})
